package com.ygqh.baby.mapper;

import com.ygqh.baby.po.YgOrderLog;
import com.ygqh.baby.po.YgOrderLogExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YgOrderLogMapper {
	int countByExample(YgOrderLogExample example);

	int deleteByExample(YgOrderLogExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgOrderLog record);

	int insertSelective(YgOrderLog record);

	List<YgOrderLog> selectByExample(YgOrderLogExample example);

	YgOrderLog selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgOrderLog record, @Param("example") YgOrderLogExample example);

	int updateByExample(@Param("record") YgOrderLog record, @Param("example") YgOrderLogExample example);

	int updateByPrimaryKeySelective(YgOrderLog record);

	int updateByPrimaryKey(YgOrderLog record);

	int countSuper(@Param("q") String q);

	List<YgOrderLog> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q);

	int addOrderLogBatch(@Param("orderLogs") List<YgOrderLog> orderLogs);

}
